<?php

class ZFBootstrap_Form_Element_Button_Cancel_Goto extends ZFBootstrap_Form_Element_Button_Cancel {

    public function __construct ($spec, $url, $options = null) {
	parent::__construct($spec, $options);

	$this->setAttrib('onclick', "window.location='$url'");
    }

}